package com.itheima.pojo;

import java.io.Serializable;

/**
 * 知识库-膳食库
 */
public class KnowledgeFood implements Serializable {
    private Integer id;//主键
    private String code;//膳食编码
    private String name;//膳食名称
    private String remark;//膳食说明
    private String age;//适用年龄（范围），例如：20-50
    private String size;//食用尺寸

    public KnowledgeFood() {
    }

    public KnowledgeFood(String code, String name, String remark, String age, String size) {
        this.code = code;
        this.name = name;
        this.remark = remark;
        this.age = age;
        this.size = size;
    }

    public KnowledgeFood(Integer id, String code, String name, String remark, String age, String size) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.remark = remark;
        this.age = age;
        this.size = size;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
